﻿using API_lib.Persistence.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Handball_plugin.Model
{
    public class HandballRefereeMO
    {
        // referee info
        private HumanMO ref1;
        private HumanMO ref2;

        // referee stats
        private int matchNo;
        private int bookings;
        private int suspensions;
        private int sentOffs;


        public new String Name { get { return ref1.Name+"-"+ref2.Name; }}
        public HumanMO Ref1 { get { return ref1; } set { ref1 = value; } }
        public HumanMO Ref2 { get { return ref2; } set { ref2 = value; } }

        public int MatchNo { get { return matchNo; } set { matchNo = value; } }
        public int Bookings { get { return bookings; } set { bookings = value; } }
        public int Suspensions { get { return suspensions; } set { suspensions = value; } }
        public int SentOffs { get { return sentOffs; } set { sentOffs = value; } }

       



    }
}
